<?php include THEMES_PATH . 'public/before_body2.phtml';?>
<link href="/statics/front/css/center.css" rel="stylesheet">
<style>
.login-reg strong {margin-bottom: 1em; display: inline-block; width: 100%;}
.login-reg p.error {text-align:left;}
</style>
</head>
<body>
<?php include THEMES_PATH . 'public/header2.phtml';?>
<div class="row main-width mt4x mb5x login-reg">
  <div class="col-sm-6 col-md-4 col-md-offset-2">
    <strong class="title align-center"><?php echo L('reset_passwd')?></strong>
    <form id="get-psd-form" name="loginForm" method="post" autocomplete="off">
      <input type="text" name="email" placeholder="<?php echo L('login_name');?>" />
      <input type="submit" name="dosubmit" value="<?php echo L('submit');?>" class="btn btn-primary">
    </form>
  </div>
  <div class="col-sm-6 col-md-4 text">
    <p class="pt5x">
      不是会员？<a href="<?php echo url('user/register',array('src' => $jump_src));?>">注册</a>一个账号
    </p>
  </div>
</div>
<?php include THEMES_PATH.'public/footer2.phtml';?>
<script>
$(function() {
  //表单验证
  $('#get-psd-form').validate({
    errorElement: 'p',
    rules: {
      email: {
        required: true,
        email: true
      }
    },
    messages: {
      email: {
        required: "<?php echo L('input_email_addres');?>",
        email: "<?php echo L('_EMAIL_FORMAT_ERROR_');?>"
      }
    }
  });
});
</script>
<?php include THEMES_PATH.'public/after_body.phtml';?>